package com.springboot.strategy.demo001;

/**
 * 调用客户端
 */
public class StrategyClient {
    public static void main(String[] args) {
        IPriceStrategy strategy = StrategyContext.getInstance().getStrategy("vip");
        if(strategy != null){
            strategy.getPrice(100);
        }
    }
}
